Skip to content

Instantly share code, notes, and snippets.

@ryanlintott
ryanlintott / ContentView.swift
Last active March 22, 2026 21:07
A SwiftUI environment value for the keyboard height that updates with animation. This is useful when you want a specific view in a stack to stick to the bottom of the keyboard when the keyboard moves up. Now included in FrameUp https://github.com/ryanlintott/FrameUp
import SwiftUI
struct ContentView: View {
var body: some View {
KeyboardAvoidingWithOffset()
.keyboardHeightEnvironmentValue()
}
}
struct KeyboardAvoidingWithOffset: View {

C++ OOPS Concepts

The main aim of OOP is to bind together the data and the functions that operate on them so that no other part of the code can access this data except that function.

Characteristics of an Object Oriented Programming language

img

0-hubs-2-iosdm.v.aaplimg.com
0-hubs-3-iosdm.v.aaplimg.com
0-hubs-iosdm.v.aaplimg.com
1-courier.push.apple.com
1-hubs-2-iosdm.v.aaplimg.com
1-hubs-3-iosdm.v.aaplimg.com
1-hubs-iosdm.v.aaplimg.com
10-courier.push.apple.com
11-courier.push.apple.com
12-courier.push.apple.com

Flutter Native

So you think React Native is better than Flutter because it uses native UI elements instead of rendering everything itself? Well, then let’s build the same thing for Flutter. I'll do it for macOS. Feel free to do it yourself for your platform instead.

Project Setup

Start like this.

flutter create --platforms=macos --empty flutter_native

tmux setup & cheatsheet

My personal tmux configuration — Catppuccin Mocha theme, vim-style navigation, session persistence, and QoL tweaks.

Prefix

C-Space  (rebound from C-b)
@Incipiens
Incipiens / lcc.sh
Created March 20, 2026 16:10
This is my script that I use for launching an instance of Claude Code using my local LLM, and it was written for an XDA article. Save it, edit the IP and port, and mark as executable to use.
#!/usr/bin/env bash
# lcc - Local Claude Code launcher
# Points Claude Code at a local LLM served by llama.cpp on your GB10 device
#
# Usage:
# lcc <modelname> — launch Claude Code with the specified model
# lcc <modelname> [args] — pass additional arguments to claude
# lcc — show help/launch with model if one is available
#
# Prerequisites:
@pazteddy
pazteddy / instalaciones.md
Last active March 22, 2026 20:43
Instalaciones recomendadas - C# Empieza tu camino en el lenguaje
@everttrollip
everttrollip / remove-git-lfs.md
Last active March 22, 2026 20:42
Removing git lfs from (any) repository

So, it has been an interesting journey, but time to remove git-lfs. Here follows a summary of the approach I used to safely remove git-lfs,

  • commit & push everything
  • create a branch, something like fix/remove-lfs
  • remove hooks git lfs uninstall
  • remove lfs stuff from .gitattributes (open file, delete content - don't delete the file!)
  • list all lfs files, git lfs ls-files
  • run git rm --cached for each file
    • if your list is big, copy the contents into a file.txt
  • make sure you remove the number and asterik on each line, you only want the paths to the files
Visual Studio 2026 18.x
Professional: NVTDK-QB8J9-M28GR-92BPC-BTHXK
Enterprise: VYGRN-WPR22-HG4X3-692BF-QGT2V
Product Year Version Product Keys
Visual Studio 2022 2021 17.x
Professional: TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise: VHF9H-NXBBB-638P6-6JHCY-88JWH
Visual Studio 2019 2019 16.x
@anthonycaccese
anthonycaccese / es-history.md
Last active March 22, 2026 20:40
EmulationStation History

EmulationStation is a graphical and themeable emulator front-end created by Aloshi around 2012. Their original work has been the foundation for the UX of many of our favorite gaming focused projects over the last decade and this document aims to capture a small bit of that history. If you see any errors please let me know in the comments below and I will gladly update this document.

History:

es-history

References: